package com.spring.doctor.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.spring.base.BaseBean;
import com.spring.trade.dto.TradeAccountDto;

/**
 * Created by liuyang on 2016/7/12.
 */
public class DocDoctorInfo extends BaseBean implements Serializable {

	private static final long serialVersionUID = -3682010816452805099L;

	private Long id;

	private String name;

	private String mobile;

	private String password;

	private Integer sex;

	private Integer provinceId;

	private Integer cityId;

	private Integer regionId;

	private Long hospitalId;
	
	private String hospitalName;

	private Long deptId;

	private String deptTel;

	private Integer type;

	private String intro;

	private Integer status;

	private Date createTime;

	private String inviteCode;

	private String headPath;

	private String pidPath;

	private String territory;

	private Integer doctorType;

	private Integer sort;

	private String mark;

	private String address; // 医生地址信息(省/市/县)

	private Integer cardinalNumber; // 刷量基数

	@JSONField(serialize = false)
	private DocDoctorHospitalInfo hospitalInfo;

	@JSONField(serialize = false)
	private DocDoctorInfoTemp tempDoc;
	
	@JSONField(serialize = false)
	private TradeAccountDto tradeAccountDto;
	
	@JSONField(serialize = false)
	private TradeAccountDto serviceDtoList;

	private Date lastLoginTime;

	private String lastLoginDevice;

	private String lastLoginVersion;
	
	private String wxRedirectCode;
	
	private Long institutionId; //机构ID
	
    private Integer workStatus; //是否休假
    
	@JSONField(serialize = false)
    private String operMark;//运营备注
	
	@JSONField(serialize = false)
    private Date firstAuthenTime;//首次认证通过时间

	
	@JSONField(serialize = false)
    private Date activeTime;//活跃状态 0不活跃 1活跃


	public Integer getCardinalNumber() {
		return cardinalNumber;
	}

	public void setCardinalNumber(Integer cardinalNumber) {
		this.cardinalNumber = cardinalNumber;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getRegionId() {
		return regionId;
	}

	public void setRegionId(Integer regionId) {
		this.regionId = regionId;
	}

	public Long getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(Long hospitalId) {
		this.hospitalId = hospitalId;
	}
	
	public String getHospitalName() {
		return hospitalName;
	}

	public void setHospitalName(String hospitalName) {
		this.hospitalName = hospitalName;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public String getDeptTel() {
		return deptTel;
	}

	public void setDeptTel(String deptTel) {
		this.deptTel = deptTel;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}

	public String getHeadPath() {
		return headPath;
	}

	public void setHeadPath(String headPath) {
		this.headPath = headPath;
	}

	public String getPidPath() {
		return pidPath;
	}

	public void setPidPath(String pidPath) {
		this.pidPath = pidPath;
	}

	public String getTerritory() {
		return territory;
	}

	public void setTerritory(String territory) {
		this.territory = territory;
	}

	public Integer getDoctorType() {
		return doctorType;
	}

	public void setDoctorType(Integer doctorType) {
		this.doctorType = doctorType;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark == null ? null : mark.trim();
	}

	public DocDoctorHospitalInfo getHospitalInfo() {
		return hospitalInfo;
	}

	public void setHospitalInfo(DocDoctorHospitalInfo hospitalInfo) {
		this.hospitalInfo = hospitalInfo;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getLastLoginDevice() {
		return lastLoginDevice;
	}

	public void setLastLoginDevice(String lastLoginDevice) {
		this.lastLoginDevice = lastLoginDevice;
	}

	public String getLastLoginVersion() {
		return lastLoginVersion;
	}

	public void setLastLoginVersion(String lastLoginVersion) {
		this.lastLoginVersion = lastLoginVersion;
	}

	

	public DocDoctorInfoTemp getTempDoc() {
		return tempDoc;
	}

	public void setTempDoc(DocDoctorInfoTemp tempDoc) {
		this.tempDoc = tempDoc;
	}

	public TradeAccountDto getTradeAccountDto() {
		return tradeAccountDto;
	}

	public void setTradeAccountDto(TradeAccountDto tradeAccountDto) {
		this.tradeAccountDto = tradeAccountDto;
	}

	public String getWxRedirectCode() {
		return wxRedirectCode;
	}

	public void setWxRedirectCode(String wxRedirectCode) {
		this.wxRedirectCode = wxRedirectCode;
	}

	public Long getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(Long institutionId) {
		this.institutionId = institutionId;
	}

	public Integer getWorkStatus() {
		return workStatus;
	}

	public void setWorkStatus(Integer workStatus) {
		this.workStatus = workStatus;
	}

	public TradeAccountDto getServiceDtoList() {
		return serviceDtoList;
	}

	public void setServiceDtoList(TradeAccountDto serviceDtoList) {
		this.serviceDtoList = serviceDtoList;
	}

	public String getOperMark() {
		return operMark;
	}

	public void setOperMark(String operMark) {
		this.operMark = operMark;
	}

	public Date getFirstAuthenTime() {
		return firstAuthenTime;
	}

	public void setFirstAuthenTime(Date firstAuthenTime) {
		this.firstAuthenTime = firstAuthenTime;
	}

	public Date getActiveTime() {
		return activeTime;
	}

	public void setActiveTime(Date activeTime) {
		this.activeTime = activeTime;
	}




	
	

/*	public TradeAccountInfo getTradeAccountInfo() {
		return tradeAccountInfo;
	}

	public void setTradeAccountInfo(TradeAccountInfo tradeAccountInfo) {
		this.tradeAccountInfo = tradeAccountInfo;
	}*/

	

	

}